package com.lh.tams.domain;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.lh.tams.util.diy.CustomDateSerializer;

/**
 * TamsClose entity. @author MyEclipse Persistence Tools
 */

public class TamsClose implements java.io.Serializable {

	// Fields

	private long idBgt;
	private TamsPerson tamsPerson;
	private String caseNo;
	private Date closeDate;
	private String closeContent;
	private String remark;
	private int isFinish;
	private TamsCase tamsCase;
	
	public TamsCase getTamsCase() {
		return tamsCase;
	}

	public void setTamsCase(TamsCase tamsCase) {
		this.tamsCase = tamsCase;
	}

	public int getIsFinish() {
		return isFinish;
	}

	public void setIsFinish(int isFinish) {
		this.isFinish = isFinish;
	}

	/** default constructor */
	public TamsClose() {
	}

	/** minimal constructor */
	public TamsClose(long idBgt) {
		this.idBgt = idBgt;
	}

	/** full constructor */
	public TamsClose(long idBgt, TamsPerson tamsPerson, String caseNo,
			Date closeDate, String closeContent, String remark) {
		this.idBgt = idBgt;
		this.tamsPerson = tamsPerson;
		this.caseNo = caseNo;
		this.closeDate = closeDate;
		this.closeContent = closeContent;
		this.remark = remark;
	}

	// Property accessors

	public long getIdBgt() {
		return this.idBgt;
	}

	public void setIdBgt(long idBgt) {
		this.idBgt = idBgt;
	}

	public TamsPerson getTamsPerson() {
		return this.tamsPerson;
	}

	public void setTamsPerson(TamsPerson tamsPerson) {
		this.tamsPerson = tamsPerson;
	}

	public String getCaseNo() {
		return this.caseNo;
	}

	public void setCaseNo(String caseNo) {
		this.caseNo = caseNo;
	}

	@JsonSerialize(using=CustomDateSerializer.class)
	public Date getCloseDate() {
		return this.closeDate;
	}

	public void setCloseDate(Date closeDate) {
		this.closeDate = closeDate;
	}

	public String getCloseContent() {
		return this.closeContent;
	}

	public void setCloseContent(String closeContent) {
		this.closeContent = closeContent;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}